home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
util1
/
shcd.lha
/
shcd
/
shcd.doc
< prev
Wrap
Text File
|
1996-02-07
|
2KB
|
73 lines
SH-Ware Compact Disk Control Program v1.00
This program is released as freeware. You may use and redistribute
it freely for no charge. The author can not be held responsible for
any or some data loss or hardware damage caused directly or otherwise
by the use or misuse of the program. You will be using the program a
your very own risk.
Operation
Format: shcd <Command> [UNIT] [DEVICE=device]
Template: COMMAND/A,UNIT/N,DEVICE/K
Purpose: To turn a drive motor on or off, or to open
or close a removable media.
Specification:
This is a simple command, that will send out an SCSI command to the
specified SCSI unit. You can switch the motor of a hard disk drive
on or off, or open or close the CD compartment of a CD drive. The
first argument specifies, what to send to the unit. There are four
commands supported, two for HDs and two for CDs:
Command Device type Operation
Start Hard disk Starts the drive motor
Stop Hard disk Stops the drive motor
Open Compact disk Ejects the CD
Close Compact disk Injects the CD
Table 1. Listing of commands supported, device types each applies to,
and what they do.
The SCSI device defaults to "scsi.device" and by default the unit to
bother is number 6. This is the target ID of the SCSI device on the
first board. Change this to address another device. If you have a
third party SCSI controller, that uses a device other than that
described earlier, use the DEVICE keyword to specify your device.
Examples:
shcd OPEN
Will eject the compact disk from the CD drive connected at target ID 6.
shcd CLOSE 4
Will inject a compact disk in the CD drive at target ID 4. These both
assume that you are using scsi.device.
shcd STOP 1 DEVICE suprascsi.device
Will stop the drive motor of the HD drive at target ID 1. This one
assumes a Supra board.
Note! The device name must be lowercase.
Note! You may pass junk as "<Command>". The operation performed defaults
to starting the drive motor, so this is what you get, if your input
does not match any of the valid commands.
Note! This program will only work if you have an SCSI CD drive.
This distribution in whole is copyright 1996 by Sami Klemola.
All rights reserved.